package BridgePattern;

public class DirtyRoad  extends  Road{
    public DirtyRoad(Vehicle vehicle) {
        super(vehicle);
    }

    public void driveOnRoad() {
        vehicle.drive();
        System.out.println("driving on the dirty road");
    }
}
